package com.example.show2page.utils;

import lombok.Getter;

/**
 * 后台返回结果集枚举
 */
@Getter
public enum ResultEnum {

    /**
     * 通用状态
     */
    SUCCESS(200, "成功"),
    ERROR(400, "错误");

    private Integer code;

    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}

